12. Data Augmentation
09 - Data Augmentation
Flipping Images And Steering Measurements
A effective technique for helping with the left turn bias involves flipping images and taking the opposite sign of the steering measurement. For example:
import numpy as np
image_flipped = np.fliplr(image)
measurement_flipped = -measurement
The cv2 library also has similar functionality with the flip method .